home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
keyb
/
swapky11.zip
/
SWAPKEY.DOC
< prev
Wrap
Text File
|
1990-02-09
|
4KB
|
122 lines
Enhanced Keyboard Fix Ver 1.10
by Dave Karr
WHATSIT
-------
This is another enhanced keyboard fix program but this one's different, it
works! When the 'New and Improved' keyboard was released someone deemed fit
to move keys around that should have been left alone. For those of us who
have been using computers for many years, we had gotten used to the control
key being next to the 'A' key and the Caps Lock being where it had been on
typewriters (Which none of us use anymore Right?) for years.
WHATSITDO
---------
SWAPKEY not only swaps the functionality of the keys around but also can give
them the capablity of being both Control and Caps Lock keys. To do this
SWAPKEY watches to see if any keys are pressed between the time you depress
the key and release it. If no other keys were pressed it toggles the Caps
Lock otherwise you get the functionality of a Control key.
HOW TO CHANGE IT
----------------
Now there may be times when you don't want to remap these keys. In that case
the Scroll Lock key is used to select one of two operating modes. The default
parameters are to remap the Control and Caps Lock keys to both Control and
Caps Lock functions. With Scroll lock on normal operation of the keys is
returned. If you want to change this you may do so by changing a bit mapped
mode byte at CS:0103 in the program. The low nibble is used when Scroll
lock is off and the high nibble is used when the Scroll lock is on. The
nibbles are mapped as:
Bit 0 - Caps Lock key toggles Caps Lock
Bit 1 - Caps Lock key is mapped to Left-Control
Bit 2 - Control Keys toggles Caps Lock
Bit 3 - Control Keys are Control Keys
Bit = 1 Enables fucnction
CS:0103 EQU 9Fh as shipped
||
||_ Scroll Lock OFF
|__ Scroll Lock ON
To change it using DEBUG:
DEBUG SWAPKEY.COM
-E CS:103 XX <- your new bytes
-W
-Q
HOW BIG IS IT?
--------------
This program moves itself into the PSP to use the minimum amount of space
possible. After it is running it uses 256 (PSP length) + 96 (Tail end of
program) + ?? (Environment Space). The following is a partial output from
DOS's MEM command to show you how it looked on my system.
Address Name Size Type
─────── ──────── ────── ──────
...... ....... ...... ......
016AE0 SWAPKEY 000040 Environment
016B30 SWAPKEY 000160 Program
If you are using more than one TSR program that steals INT 9 (the keyboard)
make sure to load this one first. Also remember to load this program before
executing statements that affect the length of the environment (like PATH)
it will save you space. This is true for most TSR's, they usaully don't
care about the environment.
THE PITCH
---------
If you are using this program and find it of value, your gift in any amount
would be greatly appreciated ($5 per copy in use is suggested). Please make
checks payable in U.S. dollars to David J. Karr.
RESTRICTIONS
------------
The program file SWAPKEY.COM is copyrighted by the author. The copyright
owner hereby licenses you to use the software given these restrictions:
The program shall be supplied in its original, unmodified form;
This file is included with the program;
For-profit use without a license is prohibited;
The program may not be included - or bundled - with other goods
or services. Exceptions may be granted upon written request only.
WARRANTY
--------
There is no warranty of any kind. The copyright owner may not be held
liable for any damages, including any lost profits or other incidental
or consequential damages arising out of or inability to use the software.
By using the software, you agree to this.
The software is: Copyright (c) 1990 by
David J. Karr
9128 W. Chester #7
Milwaukee, WI 53214
E-Mail Via EXEC-PC
(414)-789-4210